package com.springboot.distributed.transaction;

import com.springboot.distributed.transaction.zookeeper.TransactionMessage;

/**
 * 事务状态处理器
 *
 * @author supu
 * @date 2019-09-05 17:46
 **/
public interface TransactionStatusHandler {
    /**
     * 处理事务状态消息
     *
     * @param transactionMessage
     * @return
     */
    boolean handlerTransaction(TransactionMessage transactionMessage);
}
